﻿function PostAjax(url,msg){    var ajax;    try{        ajax=new ActiveXObject("Microsoft.XMLHTTP");    }    catch(e){        ajax=new XMLHttpRequest();    }    ajax.open("Post",url,true);    ajax.onreadystatechange=function(){        var obj=document.getElementById(msg);        if(ajax.readyState==4){            var myResponse;myResponse=ajax.responseText;            obj.innerHTML=myResponse;        }    }    ajax.send(null);}